<template>
  <view class="house-number">
    <u-cell-group :border="false">
      <house-cell :url="'/pkg-house/house-room/house-room?area='+item.area+'&build='+item.build" v-for="item in title"
        :key="item.id" :title="item.area +item.build"></house-cell>
    </u-cell-group>
  </view>
</template>

<script>
  export default {
    data() {
      return {
        title: []
      }
    },
    methods: {

    },
    onLoad(options) {
      for (let i = 1; i <= 10; i++) {
        this.title.push({
          id: i,
          area: options.title,
          build: i + '号楼'
        })
      }
    }
  }
</script>

<style lang="scss" scoped>
  .house-number {
    height: 100%;
    background-color: #FAFAFA;
  }

  ::v-deep .u-cell__body {
    height: 102rpx;
    padding: 0 25rpx;

    .u-cell__title-text {
      color: #333333 !important;
      font-size: 28rpx !important;
      line-height: 1.5 !important;
    }
  }
</style>
